Jetfire Wiki
Jazz CMS
Debug
Jetfire Core
Jetfire Language
Jetfire Web Part
Library
Release Notes
Roles
States
Web Service
Workflow Administration
Quick Search
»
Advanced Search »
Back
Dynamic Access Modifier
Modified on 2012/01/20 21:14
by
John
Categorized as
Jetfire Language
===Overview=== Access modifiers are keywords used to specify the declared accessibility of a member or a type. The four access modifiers: *public *protected *internal *private Jetfire allows access modifiers to be dynamic. Typically in an OO language access modifiers ([url:http://msdn.microsoft.com/en-us/library/wxh6fsc7(VS.71).aspx|including C#]) are fixed in the code. The access modifiers can not be changed without changing the source code. Jetfire allows access modifiers to changed dynamically using 4 separate mechanisms: *[States#usingstates|States Construct] *[Access Construct] using a boolean method as a constraint ** See [http://www.codeplex.com/Jetfire/Wiki/View.aspx?title=Controling%20when%20a%20Method%20or%20Property%20can%20be%20called&referringTitle=C-Sharp%20Examples|'Basket' example]. *[Access Construct] using a [role] as a constraint ** See [http://www.codeplex.com/Jetfire/Wiki/View.aspx?title=Request%20Approval&referringTitle=C-Sharp%20Examples|'Approval Request' example]. *[Access Construct] and States Construct ** See [http://www.codeplex.com/Jetfire/Wiki/View.aspx?title=Advanced%20Request%20Approval&referringTitle=C-Sharp%20Examples|'Advanced Approval Request'] example. Note: ''For code compilation Jetfire only uses the standard access modifiers (public, protected, internal and private). That is, the standard access modifiers determine if the object, such as workflow, property, method or field, is visible to other code. If the object is referenced in other code where it is not visible a compilation error will result.'' ''The dynamic access modifier mechanisms determine if access is allowed when the code is executed.''
Meta Keywords:
Meta Description:
Change Comment:
ScrewTurn Wiki
version 3.0.4.560. Some of the icons created by
FamFamFam
.